package com.millstein.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description:
 * @author: tsing
 * @create: 2021-09-13 09:26
 */
@ApiModel("用户注册对象")
@Data
public class UserRegisterRequest {
    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("密码")
    private String pwd;

    @ApiModelProperty("头像")
    @JsonProperty("head_img")
    private String headImg;

    @ApiModelProperty("个性签名")
    private String slogan;

    @ApiModelProperty("性别，1男0女")
    private Integer sex;

    @ApiModelProperty("邮箱")
    private String mail;

    @ApiModelProperty("验证码")
    private String code;
}
